#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QMessageBox>
#include<QByteArray>

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();


private slots:
    void getHttpGetData();
    void getHttpPostData();
    void finished(QNetworkReply *reply);

private:
    Ui::MainWindow *ui;
    QNetworkAccessManager *nam;
};

#endif // MAINWINDOW_H
